package com.fzdy.product.entity;

import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.util.Date;

@Entity
@Table(name = "t_process")
@Data
@NoArgsConstructor
public class Process {
    @Id
    @Column(name = "id")
    private Integer id;
    @Column(name = "name")
    private String name;
    @Column(name = "version")
    private String version;
    @Column(name = "create_date")
    private Date createDate;
    @Column(name = "paremeter")
    private String paremeter;

    public Process(Process process) {
        this.name=process.name;
        this.version = process.version;
        this.createDate = process.createDate;
        this.paremeter = process.paremeter;
    }
}
